using System.Data;
using VanTaiData;
using VanTaiProperty;
namespace VanTaiBLL
{
    public class clsTMVehicleInfo_In_OutBusiness
    {
        public static clsTMVehicleInfo_In_OutController cls = new clsTMVehicleInfo_In_OutController();

        #region[Get-Data]
        public DataTable BindGirdTMVehicleInfo_In_Out()
        {
            return cls.BindGirdTMVehicleInfo_In_Out();
        }
        public DataTable BindGirdTMVehicleInfo_In_Out_Detail_Edit(int id)
        {
            return cls.BindGirdTMVehicleInfo_In_Out_Detail_Edit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMVehicleInfo_In_Out(clsTMVehicleInfo_In_OutProperty obj)
        {
            return cls.InsertTMVehicleInfo_In_Out(obj);
        }
        public static bool UpdateTMVehicleInfo_In_Out(clsTMVehicleInfo_In_OutProperty obj)
        {
            return cls.UpdateTMVehicleInfo_In_Out(obj);
        }
        public static bool UpdateTMVehicleInfo_In_Out_Status(clsTMVehicleInfo_In_OutProperty obj)
        {
            return cls.UpdateTMVehicleInfo_In_Out_Status(obj);
        }
        public static bool DeleteTMVehicleInfo_In_Out(int id)
        {
            return cls.DeleteTMVehicleInfo_In_Out(id);
        }
        #endregion

        #region[Search]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        public DataTable TMVehicleInfo_Fillter_Date(string DateBegin, string EndBegin)
        {
            return cls.TMVehicleInfo_Fillter_Date(DateBegin, EndBegin);
        }
        public DataTable TMVehicleInfo_Fillter(string status)
        {
            return cls.TMVehicleInfo_Fillter(status);
        }
        #endregion
    }
}